#ifndef TST_BAS_TEST_CONTAINER_UTILITY_H
#define TST_BAS_TEST_CONTAINER_UTILITY_H

#include <stdbool.h>

//简单类型
typedef struct T_TestSimpleStruct_tag
{
   int i;
   float f;
} T_TestSimpleStruct;

//复杂类型
typedef struct T_TestComplexStruct_tag
{
    int i;
    float f;
    T_TestSimpleStruct *ptData;
} T_TestComplexStruct;

//复杂类型销毁函数
void testComplexStructDestroy(T_TestComplexStruct *ptTestComplexStruct);

//复杂类型小于比较函数
bool testComplexStructLess(const T_TestComplexStruct *ptTestComplexStructFirst,
                           const T_TestComplexStruct *ptTestComplexStructSecond);
//复杂类型拷贝函数
int testComplexStructCopy(T_TestComplexStruct *ptTestComplexStructTo,
                          const T_TestComplexStruct *ptTestComplexStructFrom);
//复杂类型初始化函数
int testComplexStructInit(T_TestComplexStruct *ptTestComplexStruct, void *pvNULL);

#endif
